package com.lxd.property.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.lxd.property.dao.ShaMapper;
import com.lxd.property.pojo.Shacconumber;

@Service("shaService")
@Transactional
public class ShaServiceImpl implements com.lxd.property.service.ShaService {

	@Autowired
	private ShaMapper shaMapper;

	@Override
	public Integer addSCN(Shacconumber scn) {
		// TODO Auto-generated method stub
		return shaMapper.addSCN(scn);
	}

	@Override
	public List<Shacconumber> findAllShaCNO() {
		// TODO Auto-generated method stub
		return shaMapper.findAllShaCNO();
	}

	@Override
	public Shacconumber findSCNById(Integer id) {
		// TODO Auto-generated method stub
		return shaMapper.findSCNById(id);
	}

	@Override
	public Integer updateSCN(Shacconumber scn) {
		// TODO Auto-generated method stub
		return shaMapper.updateSCN(scn);
	}

	@Override
	public Integer deleteSCN(Integer id) {
		// TODO Auto-generated method stub
		return shaMapper.deleteSCN(id);
	}

}
